package de.smarthome.rooms;

public class RoomData {

	private int id;
	private String room;
	private int light;
	private int color;
	private int curtain;
	private int blind;
	private int window;
	private int heater;

	public boolean hasHeater(){
		return (this.heater == 1);
	}
	
	
	public int getHeater() {
		return heater;
	}

	public void setHeater(int heater) {
		this.heater = heater;
	}

	public RoomData(String room) {
		this.room = room;
	}
	
	public RoomData(){};

	public boolean hasLight(){
		return (light == 1);
	}

	public boolean hasWindow(){
		return (window == 1);
	}
	
	public boolean hasCurtain(){
		return (curtain == 1);
	}

	public boolean hasBlind(){
		return (blind == 1);
	}


	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getWindow() {
		return window;
	}

	public void setWindow(int window) {
		this.window = window;
	}

	public String getRoomName() {
		return room;
	}

	public int getLight() {
		return light;
	}

	public int getColor() {
		return color;
	}

	public int getCurtain() {
		return curtain;
	}

	public void setRoomName(String room) {
		this.room = room;
	}

	public void setLight(int light) {
		this.light = light;
	}

	public void setColor(int color) {
		this.color = color;
	}

	public void setCurtain(int curtain) {
		this.curtain = curtain;
	}

	public void setBlind(int blind) {
		this.blind = blind;
	}

	public int getBlind() {
		return blind;
	}

}
